cmake_minimum_required(VERSION 3.10) 

# set the project name 
project(CalculateSqrt) 

link_libraries(m)

# find_package(math REQUIRED)

file(GLOB SRC_FILES
    "${PROJECT_SOURCE_DIR}/src/*.h"
    "${PROJECT_SOURCE_DIR}/src/*.cpp"
    "${PROJECT_SOURCE_DIR}/src/*.c"
    "${PROJECT_SOURCE_DIR}/src/*.cc")

# add the executable 
add_executable(${CMAKE_PROJECT_NAME} ${SRC_FILES})

# target_link_libraries(${CMAKE_PROJECT_NAME} PRIVATE imgui::imgui)

target_compile_features(${CMAKE_PROJECT_NAME} PRIVATE cxx_std_11)
